package com.dcms.admin.service;

import com.dcms.admin.bean.Article;

import java.util.List;

/**
 * @Author: baochao
 * @Date 2018/2/12 0012
 * @PROJECT_NAME vso
 */
public interface IArticleService {

    int deleteByPrimaryKey(Integer articleId);

    int insertSelective(Article article);

    Article selectByPrimaryKey(Integer articleId);

    int updateByPrimaryKeySelective(Article record);

    /**
     * 根据条件查询所有的Article
     * @param param 用于模糊查询Article
     * @return
     */
    List<Article> selectAll(String param);


    /**
     * 根据 articleIds 批量删除
     * @param articleIds
     * @return
     */
    int deleteByPrimaryKeyBatch(List<String> articleIds);
}
